package com.ellricky.tv

import android.content.Context
import androidx.multidex.MultiDex
import androidx.multidex.MultiDexApplication
import com.ellricky.baselib.cache.LocalCacheUtil
import com.ellricky.baselib.ui.web.WebUtils
import com.ellricky.baselib.util.EAppUtil
import com.tencent.bugly.crashreport.CrashReport
import me.jessyan.autosize.AutoSizeConfig

class TvApp : MultiDexApplication() {

    override fun onCreate() {
        super.onCreate()
        CrashReport.initCrashReport(applicationContext, "25a7ac8496", false)
        EAppUtil.initApp(this)
        AutoSizeConfig.getInstance().isBaseOnWidth = false

    }

    override fun attachBaseContext(base: Context?) {
        super.attachBaseContext(base)
        MultiDex.install(base)
    }
}